Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofill engagement KPIs for pixel reporting #2806

Merged
merged 16 commits into from
May 23, 2024
Merged

Conversation

amddg44
Copy link
Contributor

@amddg44 amddg44 commented May 22, 2024

Task/Issue URL: https://app.asana.com/0/72649045549333/1207357107981852/f
Tech Design URL:
CC:

Description:
New Autofill engagement KPI pixels

Steps to test this PR:

  1. Disable Sync (if enabled) and reset Autofill data via debug menu. Also Change the Activation Date to Less than 5 days ago (or today)
    image

  2. Use autofill as a filter for XCode console logs

  3. Go to https://fill.dev/form/login-simple, enter credentials and save when prompted

  4. Confirm pixel m.autofill.onboardeduser is fired (and that the message Autofill save event fired logs)

  5. Go back to https://fill.dev/form/login-simple and fill using the saved credentials

  6. Confirm the message Autofill fill event fired is logged

  7. Perform a search

  8. Confirm these 3 pixels are fired (where the bucket names corresponds to the number of accounts and credit cards saved): m.autofill.activeuser, m_mac_autofill_logins_stacked ["pixelSource": "browser-dmg", "appVersion": "1.88.0", "count_bucket": "few"], m_mac_autofill_creditcards_stacked ["pixelSource": "browser-dmg", "appVersion": "1.88.0", "count_bucket": "none"]

  9. Visit https://fill.dev/form/registration-email (sign into Email Protection if not already signed in)

  10. Select primary duck address

  11. Confirm the message Autofill fill event fired is logged (it will probably fire twice as the JS layer fires 2 pixels - email fill and identity fill)

  12. Select private duck address

  13. Confirm both Autofill fill event fired and Autofill save event fired messages are logged (again, there will be 2 fill events, but only 1 save)

  14. Choose a generated password

  15. Confirm just Autofill fill event fired is logged (since the login is already autosaved due to choosing a private duck address)

  16. Click Register and then come back to the registration form screen

  17. This time choose a generated password first and confirm both Autofill fill event fired and Autofill save event fired messages are logged

  18. Go to the Passwords screen and manually create a new entry

  19. Confirm the message Autofill save event fired is logged

  20. Save a credit card and an identity in the form

  21. Visit https://fill.dev/form/credit-card-simple and choose the saved credit card to fill the form

  22. Confirm the message Autofill fill event fired is logged

  23. Visit https://fill.dev/form/identity-simple and choose the saved idenity to fill the form

  24. Confirm the message Autofill fill event fired is logged

  25. "Reset Autofill Data" via Debug Autofill screen

  26. Import password data (at least 10 entries - can use this DuckDuckGo Passwords Test.csv)

  27. Confirm the pixel m_mac_autofill_onboardeduser is fired (and that the message Autofill save event fired logs)

  28. Perform a search in browser

  29. Confirm the pixel m.autofill.enableduser is fired

  30. On the iOS build, confirm there is at least 1 different password saved

  31. Enable sync and connect to the iOS build

  32. Confirm the message Autofill save event fired is logged when new sync data comes in


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label May 22, 2024
@amddg44 amddg44 removed the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label May 22, 2024
@amddg44 amddg44 requested a review from aataraxiaa May 22, 2024 18:48
Copy link
Contributor

@aataraxiaa aataraxiaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All steps validated and LGTM 👍🏼

amddg44 added 5 commits May 23, 2024 13:54
…kpis

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/Application/AppDelegate.swift
amddg44 added a commit to duckduckgo/BrowserServicesKit that referenced this pull request May 23, 2024
Task/Issue URL: https://app.asana.com/0/72649045549333/1207357107981852/f
iOS PR: duckduckgo/iOS#2885
macOS PR: duckduckgo/macos-browser#2806
What kind of version bump will this require?: Minor

Description:
Autofill engagement KPIs for pixel reporting
amddg44 added 2 commits May 23, 2024 21:08
…kpis

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/Autofill/ContentOverlayViewController.swift
#	DuckDuckGo/SecureVault/View/SaveCredentialsViewController.swift
#	DuckDuckGo/Statistics/GeneralPixel.swift
@amddg44 amddg44 merged commit 22905cd into main May 23, 2024
20 checks passed
@amddg44 amddg44 deleted the anya/pixels-autofill-kpis branch May 23, 2024 19:45
samsymons added a commit that referenced this pull request May 23, 2024
# By Fernando Bunn (3) and others
# Via GitHub
* main:
  Autofill engagement KPIs for pixel reporting (#2806)
  autofill: don't prefix autofill email pixels with `m.mac.` (#2808)
  Bump BSK (#2807)
  Make profile selector optional (#2811)
  Add History to iOS (updated UI and rollout) (#2770)
  New autofill save & update password prompt pixels for alignment with iOS (#2801)
  Add mylife data broker (#2786)
  Increase test timeout (#2810)
  Subscription refactoring, BSK update (#2809)
  Check for entitlement in DBP agent (#2802)
  move permanent survey card to first position (#2804)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
samsymons added a commit that referenced this pull request May 24, 2024
# By Elle Sullivan (8) and others
# Via Elle Sullivan (3) and GitHub (2)
* main: (26 commits)
  Autofill engagement KPIs for pixel reporting (#2806)
  autofill: don't prefix autofill email pixels with `m.mac.` (#2808)
  Bump BSK (#2807)
  Make profile selector optional (#2811)
  Add History to iOS (updated UI and rollout) (#2770)
  New autofill save & update password prompt pixels for alignment with iOS (#2801)
  Add mylife data broker (#2786)
  Increase test timeout (#2810)
  Subscription refactoring, BSK update (#2809)
  Check for entitlement in DBP agent (#2802)
  move permanent survey card to first position (#2804)
  Subscription refactoring (#2764)
  Bump version to 1.89.0 (191)
  Merge pir stabilization feature branch into main (#2789)
  Update age params for multiple brokers (#2800)
  Fix top level navigation blocks (#2792)
  Adding to the Dock automatically (#2722)
  Fix lint error
  Make activity only call completion once all work has actually finished
  Fix activity scheduler not calling completion
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request May 30, 2024
* main: (33 commits)
  Remove autofill survey (#2819)
  Bump version to 1.90.0 (192)
  Set marketing version to 1.90.0
  Update embedded files
  Privacy Pro survey support (#2816)
  Update PeopleWhiz Broker Files to use hash id (#2814)
  Update BSK due to iOS changes. (#2776)
  Scroll address bar to caret when using arrows (#2799)
  Privacy Pro macOS quick follow ups (#2813)
  BSK bump for iOS RMF updates (#2798)
  Autofill engagement KPIs for pixel reporting (#2806)
  autofill: don't prefix autofill email pixels with `m.mac.` (#2808)
  Bump BSK (#2807)
  Make profile selector optional (#2811)
  Add History to iOS (updated UI and rollout) (#2770)
  New autofill save & update password prompt pixels for alignment with iOS (#2801)
  Add mylife data broker (#2786)
  Increase test timeout (#2810)
  Subscription refactoring, BSK update (#2809)
  Check for entitlement in DBP agent (#2802)
  ...
samsymons added a commit that referenced this pull request Jun 1, 2024
# By Elle Sullivan (10) and others
# Via GitHub (6) and others
* main: (42 commits)
  Update autoconsent to v10.9.0 (#2822)
  Bump version to 1.90.0 (196)
  Revert "Add PIPAgent entitlement (#2821)" (#2823)
  Bump version to 1.90.0 (195)
  Bump version to 1.90.0 (194)
  Add PIPAgent entitlement (#2821)
  Fixes some VPN uninstallation issues (#2820)
  Bump version to 1.90.0 (193)
  Remove autofill survey (#2819)
  Remove autofill survey (#2819)
  Bump version to 1.90.0 (192)
  Set marketing version to 1.90.0
  Update embedded files
  Privacy Pro survey support (#2816)
  Update PeopleWhiz Broker Files to use hash id (#2814)
  Update BSK due to iOS changes. (#2776)
  Scroll address bar to caret when using arrows (#2799)
  Privacy Pro macOS quick follow ups (#2813)
  BSK bump for iOS RMF updates (#2798)
  Autofill engagement KPIs for pixel reporting (#2806)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants